package com.zy.tsk.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zy.tsk.mapper.TskMapper;
import com.zy.tsk.service.ITskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TskServiceImpl
 *
 * @author javachen
 */
@DS(value = "tsk")
@Service
public class TskServiceImpl implements ITskService
{

    @Autowired
    private TskMapper tskMapper;


    /**
     * 插入语句执行
     * @return
     */
    @Override
    public void insert(String sql){
        tskMapper.insert(sql);
    }


    /**
     * 删除语句执行
     * @return
     */
    @Override
    public void delete(String sql){
        tskMapper.delete(sql);
    }

}
